Marketplace Data
useBalanceOfCollectible
Hook to fetch the balance of a specific collectible for a user
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Hook to fetch the balance of a specific collectible for a user
| Name | Type | Description |
|---|---|---|
args | The arguments for fetching the balance |
const { data, isLoading, error } = useBalanceOfCollectible({
collectionAddress: "0x123...",
collectableId: "1",
userAddress: "0x456...",
chainId: 1,
query: {
enabled: true,
refetchInterval: 10000,
},
});
Was this page helpful?